package com.jn.exam.easypoi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author 江南大学1033190417
 * @date 2022/1/22 14:59
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.jn.exam"})
@EnableFeignClients
@EnableAsync//开启异步调用
public class EasyPoiApplication {
    public static void main(String[] args) {
        SpringApplication.run(EasyPoiApplication.class,args);
    }
}
